package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author WZQ
 * @date 2022/1/6
 * @TIME:16:12
 */
@Document(collection = "sound")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Sound implements Serializable {
    private ObjectId id;
    private Long userId;
    private String soundUrl;
    /**
     * 是否使用 1为未使用 2为使用
     */
    private Integer isUse;
}
